﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class ValidatePalletListMessage : BaseTibcoMessage<ValidatePalletListMessageBody>
    {
        public ValidatePalletListMessage()
        {

        }
        public ValidatePalletListMessage(ValidatePalletListMessageBody body, string inboxName = "", string listener = "") : base("ValidatePalletListRequest", body, inboxName, listener)
        {
        }
    }


    public class ValidatePalletListMessageBody : PalletEventBase
    {
        public ValidatePalletListMessageBody()
        {
        }

        [XmlElement("PALLETQTY")]
        public string PalletQty { get; set; }
        [XmlElement("PALLETLIST")]
        public PalletList PalletList { get; set; }

    }
}
